package com.jiangjiang.eshop.order.status;

import com.jiangjiang.eshop.common.help.DateHelper;
import com.jiangjiang.eshop.order.constant.OrderStatus;
import com.jiangjiang.eshop.order.service.OrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName WaitForReceiveReturnGoods
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/24 19:17
 * @Version 1.0
 **/
@Component
public class WaitForReceiveReturnGoodsOrderState extends AbstractOrderState{

    @Autowired
    public WaitForReceiveReturnGoodsOrderState(DateHelper dateHelper, OrderInfoService orderInfoService) {
        super(dateHelper, orderInfoService);
    }

    @Override
    protected Integer getOrderState() throws Exception {
        return OrderStatus.WAIT_FOR_RECEIVE_RETURN_GOODS;
    }
}
